package org.nbict.iot.protocol;


import org.nbict.iot.protocol.context.ParserContext;

/**
 * 报文域类型
 * Created by songseven on 18/6/7.
 */
public interface Parser {

    /**
     * 处理具体的报文类型
     * @return true to keep processing, false to read more data.
     * @param context
     */
    Object process(ParserContext context);
}
